package interfaces;

import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;
import entities.TBc;
import views.VBcCard;

public interface IBcService {

	public Boolean exist(String primaryKey) throws Exception;

	public Boolean contain(Map<String, Object> paramMap) throws Exception;

	public TBc fetch(String primaryKey) throws Exception;

	public TBc single(Map<String, Object> paramMap) throws Exception;

	public TBc persist(TBc entityBean) throws Exception;

	public Integer remove(String primaryKey) throws Exception;

	public Integer expunge(Map<String, Object> paramMap) throws Exception;

	public Double summary(QuerySet<Object> querySet) throws Exception;

	public Integer record(Map<String, Object> paramMap) throws Exception;

	public ResultSet<TBc> search(QuerySet<Object> querySet) throws Exception;
	
	
	public Boolean possess(Map<String,Object> paramMap) throws Exception;
	
	public VBcCard solely(Map<String, Object> paramMap) throws Exception;

	public Double collect(QuerySet<Object> querySet) throws Exception;

	public ResultSet<VBcCard> relate(QuerySet<Object> querySet) throws Exception;

}
